package com.tyd.cams;

import android.app.Application;
import android.content.Context;

import com.xuexiang.xui.XUI;

public class CamsApplication extends Application {
    public static Context context;
    private static CamsApplication myApplication;

    public static CamsApplication getInstance() {
        return myApplication;
    }

    @Override
    public void onCreate() {
        super.onCreate();
        myApplication = this;
        XUI.init(this); //初始化UI框架
        XUI.debug(true);
        CamsApplication.context=getApplicationContext();
    }
}
